package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.persistence.system.model.IvyRoleApi;

import java.util.List;
import java.util.Set;

/**
 * <p>Title:</p>
 * <p>Description:用于操作和查询角色与菜单的关系</p>
 *
 * @author hjx
 * @date 2021/1/25 - 17:09
 */
public interface IRoleApiService extends IService<IvyRoleApi> {
    List<Long> findApiByRoleId(Long roleId);
    boolean addOrDeleteApiBatch(Long roleId,Set<Long> apiIds);
}
